package cn.tedu.boyou.search.service;

import cn.tedu.boyou.search.template.DestinationTemplate;

public interface IDestinationSearchService {
    void createIndex();

    void save(DestinationTemplate template);

    /**
     * 通过名字查询数据
     * @param name
     * @return
     */
    DestinationTemplate queryDestByName(String name);
}
